home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Floppyshop 2
/
Floppyshop - 2.zip
/
Floppyshop - 2.iso
/
diskmags
/
4671-5.790
/
dmg-4695
/
giveway.17
/
source
/
vmscr.bas
(
.txt
)
< prev
Wrap
Atari STOS Basic
|
1987-04-21
|
12KB
|
117 lines
10 REM vertical screen scroll
100 FOR
110 REM init game map
120 RESTORE
130 READ
140 READ
150 FOR
160 REM get size of sprites
170 READ
180 VARNAME
190 FOR
20 REM using a mapping techique use your joystick to scroll
200 FOR
210 READ
220 NEXT
230 IF
23420 REM set up screen and colours
23430 VARNAME
23440 FOR
23450 RETURN
240 NEXT
25 DIM
250 REM main scrolling loop
260 VARNAME
265 REM main loop
270 REPEAT
280 REM scroll screen up
290 IF
30 MODE
300 IF
310 UNTIL
315 DEFAULT
316 REM scroll screen down
32 LOCATE
320 VARNAME
330 SCROLL
340 FOR
345 IF
35 RESERVE
350 NEXT
355 WAIT VBL
36 GOSUB
360 VARNAME
370 REM scroll 2 : cls physic,0,0,0 to 320,16
375 SCROLL
380 FOR
385 IF
390 NEXT
395 WAIT VBL
40 GOSUB
400 DEFAULT
410 STOP
420 REM enter sprite images into SEG$ array
430 CLS
440 FOR
450 CLS
460 SPRITE
470 VARNAME
480 SPRITE
490 RETURN
495 REM new map display code
496 REM so it uses SCREEN$ for extra SPEEEEEEDDDD!!!
5 REM Checked GFF א™
50 VARNAME
500 RESTORE
505 IF
510 RESTORE
520 FOR
530 FOR
540 READ
550 IF
560 NEXT
60 DEF
600 DATA
610 DATA
620 DATA
630 DATA
640 DATA
650 DATA
660 DATA
670 DATA
680 DATA
690 DATA
70 DEF
700 DATA
710 DATA
720 DATA
730 DATA
740 DATA
750 DATA
760 DATA
770 DATA
780 DATA
790 DATA
80 DIM
800 DATA
810 DATA
820 DATA
830 DATA
840 DATA
850 DATA
860 DATA
870 DATA
880 DATA
890 DATA
90 REM load slots
900 DATA
910 DATA
920 DATA
930 DATA
940 DATA
950 DATA
960 DATA
970 DATA
980 DATA
990 DATA